/*
 * author      : 吴中勤 
 * date        : 2018/8/17
 * description : moby order - sap order映射关系
 */

package com.deepexi.adapter.converter.sap.order;

public class SapAdapterOrder {
    private static final String STATUS_NOT_BILL = "not_bill";
    private static final String STATUS_BILLED = "billed";

    private String mobyOrderId;
    private String memberId;
    private String sapOrderNo;
    private String bpNum;
    private String shopCode;
    private String orderType;
    private String profitCenter;
    private String scCode;
    private String whoPlaceOrder;
    private String whoReceiveItem;
    private String whoGetReceipt;
    private String whoPaid;
    private String vechileCode;
    /** 下单 sap的提示信息 */
    private String sapHint;
    private String saleChannel;
    private String hasLoan;
    private String firstPay;
    private String loanAmount;
    private String remark;
    private String createdAt;
    private String updatedAt;
    private String status;  // 状态 未bill/billed

    // 预留字段
    private String field1;  // 预留字段
    private Long field2;    // 预留字段

    public SapAdapterOrder() {
        this.status = STATUS_NOT_BILL;
    }

    public void billed() {
        this.status = STATUS_BILLED;
    }

    // === setter & getter ===

    public String getSapHint() {
        return sapHint;
    }

    public void setSapHint(String sapHint) {
        this.sapHint = sapHint;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getField1() {
        return field1;
    }

    public void setField1(String field1) {
        this.field1 = field1;
    }

    public Long getField2() {
        return field2;
    }

    public void setField2(Long field2) {
        this.field2 = field2;
    }

    public String getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(String createdAt) {
        this.createdAt = createdAt;
    }

    public String getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(String updatedAt) {
        this.updatedAt = updatedAt;
    }

    public String getMobyOrderId() {
        return mobyOrderId;
    }

    public void setMobyOrderId(String mobyOrderId) {
        this.mobyOrderId = mobyOrderId;
    }

    public String getMemberId() {
        return memberId;
    }

    public void setMemberId(String memberId) {
        this.memberId = memberId;
    }

    public String getSapOrderNo() {
        return sapOrderNo;
    }

    public void setSapOrderNo(String sapOrderNo) {
        this.sapOrderNo = sapOrderNo;
    }

    public String getBpNum() {
        return bpNum;
    }

    public void setBpNum(String bpNum) {
        this.bpNum = bpNum;
    }

    public String getShopCode() {
        return shopCode;
    }

    public void setShopCode(String shopCode) {
        this.shopCode = shopCode;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public String getProfitCenter() {
        return profitCenter;
    }

    public void setProfitCenter(String profitCenter) {
        this.profitCenter = profitCenter;
    }

    public String getScCode() {
        return scCode;
    }

    public void setScCode(String scCode) {
        this.scCode = scCode;
    }

    public String getWhoPlaceOrder() {
        return whoPlaceOrder;
    }

    public void setWhoPlaceOrder(String whoPlaceOrder) {
        this.whoPlaceOrder = whoPlaceOrder;
    }

    public String getWhoReceiveItem() {
        return whoReceiveItem;
    }

    public void setWhoReceiveItem(String whoReceiveItem) {
        this.whoReceiveItem = whoReceiveItem;
    }

    public String getWhoGetReceipt() {
        return whoGetReceipt;
    }

    public void setWhoGetReceipt(String whoGetReceipt) {
        this.whoGetReceipt = whoGetReceipt;
    }

    public String getWhoPaid() {
        return whoPaid;
    }

    public void setWhoPaid(String whoPaid) {
        this.whoPaid = whoPaid;
    }

    public String getVechileCode() {
        return vechileCode;
    }

    public void setVechileCode(String vechileCode) {
        this.vechileCode = vechileCode;
    }

    public String getSaleChannel() {
        return saleChannel;
    }

    public void setSaleChannel(String saleChannel) {
        this.saleChannel = saleChannel;
    }

    public String getHasLoan() {
        return hasLoan;
    }

    public void setHasLoan(String hasLoan) {
        this.hasLoan = hasLoan;
    }

    public String getFirstPay() {
        return firstPay;
    }

    public void setFirstPay(String firstPay) {
        this.firstPay = firstPay;
    }

    public String getLoanAmount() {
        return loanAmount;
    }

    public void setLoanAmount(String loanAmount) {
        this.loanAmount = loanAmount;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

}
